package com.scott.spring.ch08.conf;

import com.scott.spring.ch08.service.RoleService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 黄后林
 * @version 1.0
 * @date 2021-12-14 09:37:46
 */
@Configuration
public class AppConf {

    @Bean
    public RoleService roleService(){
        return new RoleService();
    }
}
